QT += widgets
TEMPLATE = app
TARGET = PluginLoader

SOURCES += \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    mainwindow.h \
    plugininterface.h

# 为了方便运行，创建plugins目录
CONFIG += create_prl
DESTDIR = ./

# 确保plugins目录存在
default_target.target = createdirs
createdirs.commands = $(MKDIR) -p plugins
PRE_TARGETDEPS += createdirs
QMAKE_EXTRA_TARGETS += default_target
